
#import "SMMineAboutViewController.h"
#import <Masonry/Masonry.h>
@implementation SMMineAboutViewController
- (void)viewDidLoad {
    [super viewDidLoad];
    self.title=@"关于我们";
    self.view.backgroundColor=UIColor.systemGroupedBackgroundColor;
    UILabel *title=[UILabel new]; title.text=@"废钢回收 App"; title.font=[UIFont systemFontOfSize:20 weight:UIFontWeightBold]; title.textAlignment=NSTextAlignmentCenter;
    UILabel *ver=[UILabel new]; ver.text=[NSString stringWithFormat:@"版本 %@", [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleShortVersionString"] ?: @"1.0.0"]; ver.textAlignment=NSTextAlignmentCenter; ver.textColor=UIColor.secondaryLabelColor;
    UITextView *tv=[[UITextView alloc] init]; tv.text=@"为废钢行业提供高效供需对接、资讯信息与圈子互动。"; tv.editable=NO; tv.backgroundColor=UIColor.clearColor; tv.textAlignment=NSTextAlignmentCenter;
    [self.view addSubview:title]; [self.view addSubview:ver]; [self.view addSubview:tv];
    [title mas_makeConstraints:^(MASConstraintMaker *make){ make.top.equalTo(self.view.mas_safeAreaLayoutGuideTop).offset(40); make.left.right.equalTo(self.view);}];
    [ver mas_makeConstraints:^(MASConstraintMaker *make){ make.top.equalTo(title.mas_bottom).offset(8); make.left.right.equalTo(self.view);}];
    [tv mas_makeConstraints:^(MASConstraintMaker *make){ make.top.equalTo(ver.mas_bottom).offset(16); make.left.equalTo(self.view).offset(24); make.right.equalTo(self.view).offset(-24);}];
}
@end
